//package com.wyu.blog;
//
//
//import com.wyu.blog.dao.UserMapper;
//import com.wyu.blog.entity.User;
//import org.junit.Assert;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
//
//import java.util.List;
//
//@RunWith(SpringJUnit4ClassRunner.class)
//@SpringBootTest
//public class SimpleTest1 {
//
//    @Autowired
//    UserMapper userMapper;
//
//    @Test
//    public void select(){
//        List<User> list = userMapper.selectList(null);
//        Assert.assertEquals(2,list.size());
//        list.forEach(System.out::println);
//    }
//}
